package me.pearjelly.pmc.util;

import java.io.File;

public class FileUtils {
	/**
	 * �ݹ�ɾ��
	 * @param file
	 */
	public static void deleteOnRecursion(File file){
		if(file.isDirectory()){
			for(File tmpFile : file.listFiles()){
				deleteOnRecursion(tmpFile);
			}
		}
		file.delete();
		return;
	}
}
